package tables

import (
	"time"
)

type YogaConfig struct {
	Id                 int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	IntegralTransforms int       `xorm:"" json:"integral_transforms" form:"integral_transforms" mapstructure:"integral_transforms"`
	CreatedAt          time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt          time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt          time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	IsIntegral         int       `xorm:"" json:"is_integral" form:"is_integral" mapstructure:"is_integral"`
	IsCoupon           int       `xorm:"" json:"is_coupon" form:"is_coupon" mapstructure:"is_coupon"`
	SubMchId           string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	Weight             int       `xorm:"" json:"weight" form:"weight" mapstructure:"weight"`
	Acid               int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	IsSeparate         int       `xorm:"" json:"is_separate" form:"is_separate" mapstructure:"is_separate"`
	AppId              string    `xorm:"" json:"app_id" form:"app_id" mapstructure:"app_id"`
	AppSecret          string    `xorm:"" json:"app_secret" form:"app_secret" mapstructure:"app_secret"`
}
